package com.hl.card;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@MapperScan(basePackages = {"com.hl.card.modular.*.dao", "com.hl.card.common.persistence.dao"})
@EnableTransactionManagement(proxyTargetClass = true)
@EnableFeignClients
@EnableAsync(proxyTargetClass = true)
public class CardPackAwardApplication {
    public static void main(String[] args) {
        SpringApplication.run(CardPackAwardApplication.class, args);
    }
}
